<?php

/**
 * 友情连接插件
 * @author MrHan<hcj112@163.com>
 */
class FriendLink extends AddonsController{
    public function right()
    {
        $list = D('Link')->getFriendLink();
        if($list){
            $this->assign('link',$list);
            $this->display('Link');
        } else {
            return false;
        }
    }
}